package gdut.jmxywz.been;

import java.util.HashSet;
import java.util.Set;

/**
 * Stclass entity. @author MyEclipse Persistence Tools
 */

public class Stclass implements java.io.Serializable {

	// Fields

	private Integer stclassId;
	private Major major;
	private String stclassName;
	private String stclassDescript;
	private String stclassMonitor;
	private Set classDowns = new HashSet(0);
	private Set students = new HashSet(0);

	// Constructors

	/** default constructor */
	public Stclass() {
	}

	/** minimal constructor */
	public Stclass(Major major, String stclassName, String stclassMonitor) {
		this.major = major;
		this.stclassName = stclassName;
		this.stclassMonitor = stclassMonitor;
	}

	/** full constructor */
	public Stclass(Major major, String stclassName, String stclassDescript,
			String stclassMonitor, Set classDowns, Set students) {
		this.major = major;
		this.stclassName = stclassName;
		this.stclassDescript = stclassDescript;
		this.stclassMonitor = stclassMonitor;
		this.classDowns = classDowns;
		this.students = students;
	}

	// Property accessors

	public Integer getStclassId() {
		return this.stclassId;
	}

	public void setStclassId(Integer stclassId) {
		this.stclassId = stclassId;
	}

	public Major getMajor() {
		return this.major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	public String getStclassName() {
		return this.stclassName;
	}

	public void setStclassName(String stclassName) {
		this.stclassName = stclassName;
	}

	public String getStclassDescript() {
		return this.stclassDescript;
	}

	public void setStclassDescript(String stclassDescript) {
		this.stclassDescript = stclassDescript;
	}

	public String getStclassMonitor() {
		return this.stclassMonitor;
	}

	public void setStclassMonitor(String stclassMonitor) {
		this.stclassMonitor = stclassMonitor;
	}

	public Set getClassDowns() {
		return this.classDowns;
	}

	public void setClassDowns(Set classDowns) {
		this.classDowns = classDowns;
	}

	public Set getStudents() {
		return this.students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}

}